package com.ruoyi.service.tourism.impl;

import com.ruoyi.mapper.tourism.BudgetMapper;
import com.ruoyi.service.tourism.BudgetService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author zeo
 * @explain 上年同期月累计额和月度预算填写
 * @date 2021/2/1 10:37
 */
@Service
public class BudgetServiceImpl implements BudgetService {

    @Autowired
    BudgetMapper budgetMapper;

    @Override
    public int add(Map map) {
        return budgetMapper.add(map);
    }

    @Override
    public Map findBudgetById(String id) {
        return budgetMapper.findBudgetById(id);
    }

    @Override
    public int edit(Map map) {
        return budgetMapper.edit(map);
    }
}
